﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EmoneyWeiXinDAL;
using EmoneyWeiXinEntity;

namespace EmoneyWeiXinBLL
{
    public class dimensionBLL
    {
        public void getWX_Business_GroupUserScanUpdate(WX_Business_GroupUserScanEntity wxBusinessentity)
        {
            try
            {
                 dimensionDAL dal = new dimensionDAL();
                if (wxBusinessentity.UserEventKey != null)
                {
                    wxBusinessentity.twocodePara = wxBusinessentity.UserEventKey.Replace("qrscene_", "");

                    try
                    {
                        dal.InsertSaoMiaoJiLUFor917(wxBusinessentity);
                    }
                    catch (Exception){ }
                    
                     //仅仅用于9月17活动（帮王晓颖做）
                  
                }
                else
                {
                    wxBusinessentity.UserEventKey = "";
                    wxBusinessentity.twocodePara = "";
                }
                if (wxBusinessentity.UserTicket == null)
                {
                    wxBusinessentity.UserTicket = "";
                }
               
                dal.getWX_Business_GroupUserScanUpdate(wxBusinessentity);


               

            }
            catch (Exception)
            {

                throw;
            }
        }
    }
}
